<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});

Route::get('hello/:name', 'index/hello');
\think\facade\Route::post('login','index/Login/index');
\think\facade\Route::resource('operation','index/Operation')->allowCrossDomain();
\think\facade\Route::resource('lsb','index/lsb')->allowCrossDomain();
\think\facade\Route::resource('dsb','index/dsb')->allowCrossDomain();
\think\facade\Route::resource('goods','index/Goods')->allowCrossDomain();
\think\facade\Route::post('register','index/register/index');
\think\facade\Route::resource('role','index/Htrole');
\think\facade\Route::resource('vip','index/Vip');
\think\facade\Route::resource('user','index/User');

return [

];
